import layout from '@/layout'
export default {
  path: '',
  component: layout,
  name: 'park',
  meta: {
    title: '园区管理',
    icon: 'tree-table'
  },
  children: [{
    path: '/park',
    name: 'park',
    component: () => import('@/views/park'),
    meta: {
      title: '楼宇管理',
      icon: 'tree-table'
    }
  },
  {
    path: '/enterprise',
    name: 'park',
    component: () => import('@/views/enterprise'),
    meta: {
      title: '企业管理',
      icon: 'tree-table'
    }
  },
  {
    path: '/park/addpark/:id?', // 员工详情的地址
    component: () => import('@/views/park/addpark.vue'),
    hidden: true, // 表示隐藏在左侧菜单
    meta: {
      title: '添加企业' // 显示在导航的文本
    }
  }
  ]
}
